# version: 7.25.1 # total-memory: 4096.0MiB # cpu: tilegx # cpu-count: 36 # total-hdd-space: 1024.0MiB # architecture-name: tile # board-name: CCR1036-12G-4S # platform: MikroTik # installed-version: 7.25.1 # Flags: U - UNDOABLE # Columns: ACTION, BY, POLICY, TIME # ACTION BY POLICY TIME # U log rule added iper write 2026-11-17 10:06:37 # U log rule added iper write 2026-11-17 10:06:37 # U log rule added iper write 2026-11-17 10:06:37 # U log rule added iper write 2026-11-17 10:06:36 # U log action changed iper write 2026-11-17 10:06:36 # U log action changed iper write 2026-11-17 10:06:36 # # software id = 9YFT-WMGK # # model = CCR1036-12G-4S # serial number = 468A046D64E1 /dude set enabled=yes /ip neighbor discovery-settings set discover-interface-list=all /ip pool add name=pool-pppoe-1 ranges=100.67.0.0/25 add name=pgcorte ranges=10.5.0.0/24 /ip ssh set host-key-type=rsa known-hosts-validation=no /ip service set ftp disabled=yes set www port=81 set ssh available-from=172.16.55.0/24,177.75.162.43/32,45.163.13.106/32 port=2200 set telnet port=2300 set winbox port=8292 set api available-from=172.16.55.0/24 set api-ssl available-from=172.16.55.0/24 /port set 0 baud-rate=auto set 1 baud-rate=auto /ppp aaa set interim-update=3m use-radius=yes /ppp profile add change-tcp-mss=yes local-address=172.38.1.1 name=profile-pppoe remote-address=pool-pppoe-1 use-upnp=yes /interface bridge add mtu=1500 name=br-lan protocol-mode=none add name=br-wan protocol-mode=none /interface ethernet set [ find default-name=ether1 ] comment=wifi set [ find default-name=ether2 ] name=ether2-switch /interface pptp-client add connect-to=45.172.144.97 name=pptp-out2-mkauth password=seven@cloud01 user=seven@cloud01 /interface sstp-client add comment=RADIUS connect-to=45.172.144.97 disabled=no name=sstp-out1-mkauth password=seven@cloud01 profile=default-encryption user=seven@cloud01 /interface eoip add local-address=45.178.58.56 mac-address=02:DA:E1:6F:8F:2E name=eoip-aeroporto remote-address=45.178.58.48 tunnel-id=22 # same mac-address as eoip-iper-1 add local-address=45.178.58.56 mac-address=02:98:FC:94:52:97 name=eoip-iper remote-address=177.75.162.43 tunnel-id=56 # same mac-address as eoip-iper add local-address=45.178.58.56 mac-address=02:98:FC:94:52:97 name=eoip-iper-1 remote-address=177.73.253.85 tunnel-id=110 add local-address=45.178.58.56 mac-address=02:31:71:A0:00:64 name=eoip-iper-2 remote-address=45.163.13.106 tunnel-id=210 /interface vlan add interface=br-wan name=vlan112-uplink vlan-id=112 # vlan parent is a slave add interface=ether2-switch name=vlan2016 vlan-id=2016 /interface l2tp-server server set default-profile=default enabled=yes /interface ovpn-server server add mac-address=FE:64:F4:31:54:2A name=ovpn-server1 /interface pppoe-server server add authentication=pap,chap default-profile=profile-pppoe disabled=no interface=ether1 max-mru=1492 max-mtu=1492 one-session-per-host=yes service-name=ether1-monitor-energia add authentication=pap,chap default-profile=profile-pppoe disabled=no interface=br-lan max-mru=1492 max-mtu=1492 one-session-per-host=yes service-name=ether2-switch add authentication=pap,chap default-profile=profile-pppoe disabled=no interface=vlan2016 max-mru=1492 max-mtu=1492 one-session-per-host=yes service-name=vlan2016 /interface pptp-server server # PPTP connections are considered unsafe, it is suggested to use a more modern VPN protocol instead set default-profile=default enabled=yes /ip address add address=100.70.255.18/30 interface=vlan112-uplink network=100.70.255.16 add address=45.178.58.56 interface=lo network=45.178.58.56 add address=10.10.10.46/30 comment=iper interface=eoip-iper network=10.10.10.44 add address=172.22.23.65/29 interface=br-lan network=172.22.23.64 add address=172.22.16.121/29 interface=br-lan network=172.22.16.120 add address=172.22.30.121/29 interface=br-lan network=172.22.30.120 add address=172.22.29.145/28 interface=br-lan network=172.22.29.144 add address=172.22.23.53/30 interface=br-lan network=172.22.23.52 add address=172.22.21.57/29 interface=br-lan network=172.22.21.56 add address=172.22.27.201/29 interface=br-lan network=172.22.27.200 add address=172.22.23.73/30 interface=br-lan network=172.22.23.72 add address=172.22.24.113/29 interface=br-lan network=172.22.24.112 add address=172.22.23.169/29 interface=br-lan network=172.22.23.168 add address=172.22.23.185/29 interface=br-lan network=172.22.23.184 add address=172.22.19.217/29 interface=br-lan network=172.22.19.216 add address=192.168.45.253/30 interface=eoip-aeroporto network=192.168.45.252 add address=172.22.22.201/29 interface=br-lan network=172.22.22.200 add address=172.22.30.113/29 interface=br-lan network=172.22.30.112 add address=172.22.30.241/29 interface=br-lan network=172.22.30.240 add address=172.22.30.73/29 interface=br-lan network=172.22.30.72 add address=172.22.20.121/29 interface=br-lan network=172.22.20.120 add address=172.22.30.137/29 interface=br-lan network=172.22.30.136 add address=172.22.20.201/29 interface=br-lan network=172.22.20.200 add address=172.22.30.153/29 interface=br-lan network=172.22.30.152 add address=172.17.0.1/24 interface=br-lan network=172.17.0.0 add address=172.22.30.217/29 interface=br-lan network=172.22.30.216 add address=192.168.1.1/24 interface=br-lan network=192.168.1.0 add address=10.10.10.166/30 comment=iper interface=eoip-iper-1 network=10.10.10.164 add address=10.10.10.102/30 comment=iper interface=eoip-iper-2 network=10.10.10.100 /ip dns set servers=8.8.8.8,10.128.10.3 /ip firewall filter add action=drop chain=input comment="DROP CONSULTA DNS EXTERNA" dst-port=53 in-interface=vlan112-uplink protocol=udp add action=drop chain=input comment="DROP CONSULTA DNS EXTERNA" dst-port=53 in-interface=vlan112-uplink protocol=tcp /ip firewall nat add action=src-nat chain=srcnat comment=nat-iper out-interface=vlan112-uplink src-address=10.10.10.0/24 to-addresses=45.178.58.56 add action=src-nat chain=srcnat comment=nat-vpn out-interface=vlan112-uplink src-address=192.168.45.0/24 to-addresses=45.178.58.56 add action=src-nat chain=srcnat comment=nat-vpn dst-address=100.67.0.75 src-address=192.168.45.0/24 to-addresses=45.160.206.99 add action=src-nat chain=srcnat comment=nat-clientes out-interface=vlan112-uplink src-address=100.67.0.0/27 to-addresses=45.178.58.57 add action=src-nat chain=srcnat comment=nat-clientes out-interface=vlan112-uplink src-address=100.67.0.32/27 to-addresses=45.178.58.58 add action=src-nat chain=srcnat comment=nat-clientes out-interface=vlan112-uplink src-address=100.67.0.64/27 to-addresses=45.178.58.59 add action=src-nat chain=srcnat comment=nat-clientes out-interface=vlan112-uplink src-address=100.67.0.96/27 to-addresses=45.178.58.60 add action=src-nat chain=srcnat comment=nat-clientes out-interface=vlan112-uplink src-address=100.67.0.0/24 to-addresses=45.178.58.57 /ip firewall raw add action=drop chain=prerouting comment="BLOQUEIO MK AUTH" src-address=10.5.0.0/24 /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=100.70.255.17 pref-src=45.178.58.56 routing-table=main scope=30 target-scope=10 add disabled=no dst-address=100.67.1.0/24 gateway=192.168.45.254 routing-table=main add comment=RADIUS disabled=no distance=1 dst-address=172.16.10.0/24 gateway=sstp-out1-mkauth routing-table=main scope=30 target-scope=10 /ipv6 nd # automatic dns option advertising is not started, re-apply dns config set [ find default=yes ] advertise-dns=yes /ppp secret add local-address=192.168.45.1 name=diego password=7seven7 remote-address=192.168.45.2 add disabled=yes name=energiaiomeremorro password=em2025 profile=profile-pppoe service=pppoe add name=seven password=teste add name=energiaacacio password=energia add name=teste password=teste /radius add address=172.16.10.47 comment="MKAUTH CLOUD" require-message-auth=no secret=seven service=ppp timeout=1s add address=10.128.10.6 comment=RADIUS disabled=yes require-message-auth=no secret=seven service=ppp src-address=45.178.58.56 timeout=1s add address=191.252.193.58 comment="RADIUS EMERGENCIAL" disabled=yes secret=receitanet_radius_coringa service=ppp,login timeout=300ms add address=169.57.162.197 comment="RADIUS EMERGENCIAL" disabled=yes secret=vigo service=ppp,login timeout=300ms /radius incoming set accept=yes /snmp community set [ find default=yes ] name=ipermonitor add addresses=::/0 name=monitor /snmp set contact=noc@iper.net.br enabled=yes location=br-sc-iome /system clock set time-zone-name=America/Sao_Paulo /system identity set name=seven-router-iomere /system ntp client set enabled=yes /system ntp client servers add address=b.ntp.br add address=a.ntp.br add address=10.10.10.45 /system scheduler add !days interval=1d name=script_backup_email on-event=script_backup_email policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=1970-01-01 start-time=00:15:00 add !days interval=1d name=script_backup_ftp on-event=script_backup_ftp policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=1970-01-01 start-time=00:00:00 add !days interval=1d name=script-dude-ftp on-event=script-dude-ftp policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=1970-01-01 start-time=00:30:00 /system script add dont-require-permissions=no name=script_backup_ftp owner=iper policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":log info \"Iniciado Backup FTP\"\r\nexport file=backup-ftp\r\n/tool fetch address=177.75.162.43 port=8021 src-path=backup-ftp.rsc user=bkp.seven mode=ftp password=seven.bkp dst-path=([/system identity get name].\".rsc\") upload=yes\r\n:log info \"Terminado Backup FTP\"" add dont-require-permissions=no name=script_backup_email owner=iper policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":log info \"Inciando Backup Email\"\r\nexport file=backup-email\r\n/tool e-mail send to=\"bkp.rb@iper.net.br\" subject=\"\$[/system identity get name]\" body=\"\$[/system clock get date]\" file=\"backup-email.rsc\"\r\n:log info \"Terminado Backup Email\"\r\n" add dont-require-permissions=no name=script-dude-ftp owner=iper policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":log info \"Iniciado Backup\"\r\ndude export-db backup-file=backup-dude\r\ntool fetch address=177.75.162.43 port=8021 src-path=backup-dude user=bkp.seven mode=ftp password=seven.bkp dst-path=([/system identity get name]) upload=yes" /system logging action set 3 remote=45.163.13.106 src-address=45.178.58.56 add name=iper remote=45.163.13.106 src-address=45.178.58.56 target=remote /system logging add action=iper topics=info,account add action=iper topics=critical add action=iper topics=error add action=iper topics=warning add action=iper topics=critical add action=iper topics=error add action=iper topics=warning add action=iper topics=info,account /tool e-mail set from=envia.bkp@iper.net.br password=Iper@2022 port=587 server=mail.iper.net.br tls=starttls user=envia.bkp@iper.net.br /tool graphing interface add /user ssh-keys add info=root@mkauth key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpX7tDwH3buQ5lx9KjRBSMh0GN2I51jgx+d2xm2onRHXu+oxE36l2TUZfIM1xyZsrd0sb/uNHStnK2t669NjPHejols80l/TO0JRISJZahU43WK9ZsHU4xGhJMp0GnaQO8XxxFMrsjbMxHkfCl4tg9A4Rzep2rWCYPeoSO/KIe7irta0DfFIwF3O2x1l1QpM69KWmo54BeVNw05JV9CCsW9XTa+ZjezLZDG31NIwrE6tVpqq8ePPbKQDRGxNhtENQEUayWMw4NauQxAi4/FKSKw6TdYO8Y2D9nVeQTuunuA58NoPlJycS42aZJP2JUQnoTO50FZ7P1ops9EHH27VP7" user=mkauth /interface bridge port add bridge=br-wan interface=sfp1 add bridge=br-wan interface=sfp2 add bridge=br-wan interface=sfp3 add bridge=br-wan interface=sfp4 add bridge=br-lan interface=ether3 add bridge=br-lan interface=ether2-switch add bridge=br-lan interface=ether4 add bridge=br-lan interface=ether5